﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XsqTech.SmartOA.Dtos.DTO.Dict
{
    public class DictDetailsUpdateDTO
    {
        /// <summary>
        /// 数据字典从表主键
        /// </summary>
        [Key]
        public int DetailsId { get; set; }
        /// <summary>
        /// 数据字典从表
        /// </summary>
        /// 
        [StringLength(50)]
        [Required]
        public string DetailsName { get; set; }
        /// <summary>
        /// 主表ID
        /// </summary>
        public int Dictid { get; set; }
        /// <summary>
        /// 数据字典从表更新人
        /// </summary>
        /// 
        [StringLength(50)]
        [Required]
        public string DetailsUpdateUser { get; set; }
        /// <summary>
        /// 数据字典从表更新时间
        /// </summary>
        public DateTime DetailsUpdateTime { get; set; }
        /// <summary>
        /// 数据字典从表状态
        /// </summary>
        public int DetailsState { get; set; }
        /// <summary>
        /// 数据字典从表代码
        /// </summary>
        /// 
        [StringLength(50)]
        [Required]
        public string DetailsCode { get; set; }
    }
}
